package com.hgxd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hgxd.entity.pojo.HumHistoryEntity;
import com.hgxd.entity.res.ResHumHistory;
import com.hgxd.entity.vo.HumHistoryVo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author: wtf
 * @Description:
 * @Date: 2022/10/20/10:36
 */
public interface HumHistoryService extends IService<HumHistoryEntity> {


    /**
     * 根据柜号查询最新信息
     *
     * @param cntrNo
     * @return
     */
    List<HumHistoryEntity> getNewHumByCntrNo(String cntrNo);

    /**
     * 根据柜号查询对应柜子三个铜排温度
     *
     * @param humHistoryVo
     * @return
     */
    Map<Integer, List<ResHumHistory>> getDataByTimeAndCntrNo(HumHistoryVo humHistoryVo);
}
